<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <link rel="stylesheet" type="text/css" href="style.css" title="style" />
    <script type="text/javascript" src="server.js"></script>
    <script type="text/javascript" src="lib/prototype.js"></script>
    <script type="text/javascript" src="lib/scriptaculous.js"></script>
    <script type="text/javascript" src="info.js"></script>
  </head>
  <body>

    <div id="mainJS">
      <!-- the communication is done here -->
    </div>
    
    <table border="0"><!-- for emily -->
      <tr>
        <td>
          <span id="buttons">
            <br/><button onclick="homeDir()">List home directory</button>
            <br/><button onclick="systemInfo()">System information</button>
            <br/><button onclick="vmInfo()">VM info</button>
            <br/><button onclick="javaProps()">Java properties</button>
            <br/>
            <button onclick="invokeShell()">Shell command</button>
            <br/>
            <div id="history"></div>
            <div id="prompt">
              &#187;
              <form style="display:inline" onsubmit="invokeShell(); return false">
                <input type="text" id="cmd" />
              </form>
            </div>
            <h2 id="title"></h2>
          </span>
        </td>
        
        <td>
          <!-- result goes here -->
          <pre id="res" style="">
            Results...
          </pre>
        </td> 
        
      </tr>
    </table>

  </body>
</html>

